Packetery\Module\Plugin B

Total Complexity 91
Dependencies 72
Dependents 14
Total lines 1,114
Lines of code 507
Logical lines of code 275
Comment lines 176
Methods 31
Properties 36

Methods 31

Method Rating Maintainability Complexity Lines of code
enqueueAdminAssets()
B
35 21 76
renderEmailFooter()
A
46 8 40
run()
A
37 4 82
handleActions()
S
59 5 15
renderOrderDetail()
S
51 4 27
renderDeliveryDetail()
S
50 3 29
hideSubmenuItem()
S
63 4 10
uninstall()
S
65 4 10
__construct()
S
46 1 38
cleanUpRepositories()
S
56 2 18
createLinkParts()
S
63 3 10
shouldHidePacketaInfo()
S
74 3 4
renderConfirmModalTemplate()
S
60 2 14
echoInactiveWooCommerceNotice()
S
61 2 14
loadTranslation()
S
62 2 11
enqueueFrontAssets()
S
66 2 8
getLocale()
S
69 2 7
cleanUpRepositoriesForMultisite()
S
67 2 8
shouldDisplayPickupPointInfo()
S
79 2 3
addPluginRowMeta()
S
64 2 9
declareWooCommerceCompability()
S
70 2 6
buildAssetUrl()
S
65 2 8
getSites()
S
66 1 9
isWooCommercePluginActive()
S
80 1 3
add_menu_pages()
S
70 1 7
enqueueStyle()
S
67 1 8
init()
S
65 1 10
enqueueScript()
S
66 1 9
addPluginActionLinks()
S
66 1 7
add_shipping_method()
S
76 1 4
getAppIdentity()
S
77 1 3